package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.mapper.RolesAdminsMapper;
import com.xja.entity.RolesAdmins;
import com.xja.service.RolesAdminsService;
@Service
public class RolesAdminsServiceImpl implements RolesAdminsService{

    @Resource
    private RolesAdminsMapper rolesAdminsMapper;

    @Override
    public int deleteByPrimaryKey(Integer roles,Integer admins) {
        return rolesAdminsMapper.deleteByPrimaryKey(roles,admins);
    }

    @Override
    public int insert(RolesAdmins record) {
        return rolesAdminsMapper.insert(record);
    }

    @Override
    public int insertSelective(RolesAdmins record) {
        return rolesAdminsMapper.insertSelective(record);
    }

}
